﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Models
{
    [Serializable]
    public class ProjectMain
    {
        /// <summary>
        /// Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 项目号
        /// </summary>
        public string PJId { get; set; }
        /// <summary>
        /// 工作流号
        /// </summary>
        public int WorkParentId { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        public string PJName { get; set; }
        /// <summary>
        /// 模具号
        /// </summary>
        public string Mold { get; set; }
        /// <summary>
        /// 产品号
        /// </summary>
        public string Maktx { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string MaktxName { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string Customer { get; set; }
        /// <summary>
        /// 业务板块
        /// </summary>
        public string BusinessPlate { get; set; }
        /// <summary>
        /// PM
        /// </summary>
        public string PM { get; set; }
        /// <summary>
        /// 启动时间
        /// </summary>
        public DateTime StartDate { get; set; }
        /// <summary>
        /// 项目类型
        /// </summary>
        public string PJType { get; set; }
        /// <summary>
        /// 试模类型
        /// </summary>
        public string MoldType { get; set; }
        /// <summary>
        /// T1预估完成时间
        /// </summary>
        public DateTime T1EndDate { get; set; }
        /// <summary>
        /// T2预估完成时间
        /// </summary>
        public DateTime T2EndDate { get; set; }
        /// <summary>
        /// T3预估完成时间
        /// </summary>
        public DateTime T3EndDate { get; set; }
        /// <summary>
        /// T4预估完成时间
        /// </summary>
        public DateTime T4EndDate { get; set; }
        /// <summary>
        /// T5预估完成时间
        /// </summary>
        public DateTime T5EndDate { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string Statues { get; set; }
        /// <summary>
        /// 修改原因
        /// </summary>
        public string Reason { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Ps { get; set; }


        //扩展属性
        public string StageName { get; set; }
        public DateTime RealEndDate { get; set; }
        /// <summary>
        /// 显示名
        /// </summary>
        public string DisplayName { get; set; }
        public DateTime T1RealEndDate { get; set; }
        public DateTime T2RealEndDate { get; set; }
        public DateTime T3RealEndDate { get; set; }
        public DateTime T4RealEndDate { get; set; }
        public DateTime T5RealEndDate { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        public string StrT1EndDate { get; set; }
        public string StrT2EndDate { get; set; }
        public string StrT3EndDate { get; set; }
        public string StrT4EndDate { get; set; }
        public string StrT5EndDate { get; set; }

        public string StrT1RealEndDate { get; set; }
        public string StrT2RealEndDate { get; set; }
        public string StrT3RealEndDate { get; set; }
        public string StrT4RealEndDate { get; set; }
        public string StrT5RealEndDate { get; set; }

        public string Problem { get; set; }

    }
}
